table of contents
rte_pmd_iavf.h(3) | DPDK | rte_pmd_iavf.h(3) |
NAME¶
rte_pmd_iavf.h
SYNOPSIS¶
#include <stdio.h>
#include <rte_compat.h>
#include <rte_mbuf.h>
#include <rte_mbuf_dyn.h>
Data Structures¶
union rte_pmd_ifd_proto_xtr_metadata
Macros¶
#define RTE_PMD_IFD_DYNF_PROTO_XTR_METADATA(m)
#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_VLAN
(rte_pmd_ifd_dynflag_proto_xtr_vlan_mask)
#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IPV4
(rte_pmd_ifd_dynflag_proto_xtr_ipv4_mask)
#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IPV6
(rte_pmd_ifd_dynflag_proto_xtr_ipv6_mask)
#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IPV6_FLOW
(rte_pmd_ifd_dynflag_proto_xtr_ipv6_flow_mask)
#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_TCP
(rte_pmd_ifd_dynflag_proto_xtr_tcp_mask)
#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IP_OFFSET
(rte_pmd_ifd_dynflag_proto_xtr_ip_offset_mask)
Functions¶
static __rte_experimental __rte_always_inline int
rte_pmd_ifd_dynf_proto_xtr_metadata_avail (void)
static __rte_experimental __rte_always_inline uint32_t
rte_pmd_ifd_dynf_proto_xtr_metadata_get (struct rte_mbuf *m)
static __rte_experimental void rte_pmd_ifd_dump_proto_xtr_metadata
(struct rte_mbuf *m)
Detailed Description¶
iavf PMD specific functions.
EXPERIMENTAL: this API may change, or be removed, without prior notiavf
Definition in file rte_pmd_iavf.h.
Macro Definition Documentation¶
#define RTE_PMD_IFD_DYNF_PROTO_XTR_METADATA(m)¶
Value:
The mbuf dynamic field pointer for flexible descriptor's extraction metadata.
RTE_MBUF_DYNFIELD((m), rte_pmd_ifd_dynfield_proto_xtr_metadata_offs, uint32_t *)
Definition at line 101 of file rte_pmd_iavf.h.
#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_VLAN (rte_pmd_ifd_dynflag_proto_xtr_vlan_mask)¶
The mbuf dynamic flag for VLAN protocol extraction metadata, it is valid when dev_args 'proto_xtr' has 'vlan' specified.
Definition at line 110 of file rte_pmd_iavf.h.
#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IPV4 (rte_pmd_ifd_dynflag_proto_xtr_ipv4_mask)¶
The mbuf dynamic flag for IPv4 protocol extraction metadata, it is valid when dev_args 'proto_xtr' has 'ipv4' specified.
Definition at line 117 of file rte_pmd_iavf.h.
#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IPV6 (rte_pmd_ifd_dynflag_proto_xtr_ipv6_mask)¶
The mbuf dynamic flag for IPv6 protocol extraction metadata, it is valid when dev_args 'proto_xtr' has 'ipv6' specified.
Definition at line 124 of file rte_pmd_iavf.h.
#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IPV6_FLOW (rte_pmd_ifd_dynflag_proto_xtr_ipv6_flow_mask)¶
The mbuf dynamic flag for IPv6 with flow protocol extraction metadata, it is valid when dev_args 'proto_xtr' has 'ipv6_flow' specified.
Definition at line 131 of file rte_pmd_iavf.h.
#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_TCP (rte_pmd_ifd_dynflag_proto_xtr_tcp_mask)¶
The mbuf dynamic flag for TCP protocol extraction metadata, it is valid when dev_args 'proto_xtr' has 'tcp' specified.
Definition at line 138 of file rte_pmd_iavf.h.
#define RTE_IAVF_PKT_RX_DYNF_PROTO_XTR_IP_OFFSET (rte_pmd_ifd_dynflag_proto_xtr_ip_offset_mask)¶
The mbuf dynamic flag for IP_OFFSET extraction metadata, it is valid when dev_args 'proto_xtr' has 'ip_offset' specified.
Definition at line 145 of file rte_pmd_iavf.h.
Function Documentation¶
static __rte_experimental __rte_always_inline int rte_pmd_ifd_dynf_proto_xtr_metadata_avail (void) [static]¶
Check if mbuf dynamic field for flexible descriptor's extraction metadata is registered.
Returns
Definition at line 157 of file rte_pmd_iavf.h.
static __rte_experimental __rte_always_inline uint32_t rte_pmd_ifd_dynf_proto_xtr_metadata_get (struct rte_mbuf * m) [static]¶
Get the mbuf dynamic field for flexible descriptor's extraction metadata.
Parameters
Returns
Definition at line 172 of file rte_pmd_iavf.h.
static __rte_experimental void rte_pmd_ifd_dump_proto_xtr_metadata (struct rte_mbuf * m) [inline], [static]¶
Dump the mbuf dynamic field for flexible descriptor's extraction metadata.
Parameters
Definition at line 185 of file rte_pmd_iavf.h.
Author¶
Generated automatically by Doxygen for DPDK from the source code.
Fri Dec 15 2023 | Version 23.11.0 |